﻿@model IdentityExample.Models.CreateUserMovieViewModel
@{
    ViewBag.Title = "CreateUserMovie";
}

<h2>CreateUserMovie</h2>

@using (Html.BeginForm())
{
    <div>
        Select Movie<br />
        @Html.DropDownListFor(m => m.SelectedMovieId, new SelectList(Model.Movies, "MovieId", "Title"))
        <br />
        Select Rating<br />
        @Html.DropDownListFor(m => m.SelectedRatingId, new SelectList(Model.Ratings, "RatingId", "Name"))
        <br />
        <input type="submit" value="Create Favorite Movie" />
    </div>
}